package common.code;

import java.util.HashMap;
import java.util.Map;

public class Condition {
	/** 新建还是编辑的标示字段start */
	public static  final String RWGL_XJ = "xj"; //新建标示字段
	public static  final String RWGL_BJ = "bj"; //编辑标示字段
	/** 新建还是编辑的标示字段end */
	
	/** 是否删除 start */
	public static  final String IS_NOT_DELETE = "0"; //未删除
	public static  final String IS_DELETE = "1"; //已删除
	/** 是否删除 end */
	
	/** 图片的一些常量字段信息    start*/
	public static  final String FAULT_SOURCE_PICTURE = "1"; //缺陷来源--图片
	public static  final String FAULT_SOURCE_VIDEO = "2"; //缺陷来源--图片
	
	public static  final String IS_NOT_DISPLAY = "0"; //缺陷不显示
	public static  final String IS_DISPLAY = "1"; //缺陷显示
	/** 图片的一些常量字段信息    end*/
	
	/** 输电线路相关数据start  */
	//资产性质    对应数据库中字典表ROUTE_PROPERTY_DICT   id==>1-6
	private static final String  ROUTE_PEOPERTY_NAME1 = "国家电网公司";
	private static final String  ROUTE_PEOPERTY_NAME2 = "区域电网公司";
	private static final String  ROUTE_PEOPERTY_NAME3 = "省（直辖市、自治区）公司";
	private static final String  ROUTE_PEOPERTY_NAME4 = "县公司";
	private static final String  ROUTE_PEOPERTY_NAME5 = "用户";
	private static final String  ROUTE_PEOPERTY_NAME6 = "股份制";
	
	//线路类型  对应数据库中字典表ROUTE_TYPE_DICT   id==>1-3
	private static final String  ROUTE_TYPE_NAME1 = "混合线路";
	private static final String  ROUTE_TYPE_NAME2 = "电缆线路";
	private static final String  ROUTE_TYPE_NAME3 = "架空线路";
	
	//电压等级 对应数据库中字典表ROUTE_VOLTAGE_DICT  id==>1-11
	private static final String  ROUTE_VOLTAGE_NAME1 = "交流1000kV";
	private static final String  ROUTE_VOLTAGE_NAME2 = "交流750kV";
	private static final String  ROUTE_VOLTAGE_NAME3 = "交流500kV";
	private static final String  ROUTE_VOLTAGE_NAME4 = "交流330kV";
	private static final String  ROUTE_VOLTAGE_NAME5 = "交流220kV";
	private static final String  ROUTE_VOLTAGE_NAME6 = "交流110kV";
	private static final String  ROUTE_VOLTAGE_NAME7 = "交流66kV";
	private static final String  ROUTE_VOLTAGE_NAME8 = "交流35kV";
	private static final String  ROUTE_VOLTAGE_NAME9 = "交流20kV";
	private static final String  ROUTE_VOLTAGE_NAME10 = "交流10kV";
	private static final String  ROUTE_VOLTAGE_NAME11 = "交流6kV";
	private static final String  ROUTE_VOLTAGE_NAME12 = "交流3kV";
	private static final String  ROUTE_VOLTAGE_NAME13 = "交流0.38kV";
	private static final String  ROUTE_VOLTAGE_NAME14 = "交流0.22kV";
	private static final String  ROUTE_VOLTAGE_NAME15 = "直流1000kV";
	private static final String  ROUTE_VOLTAGE_NAME16 = "直流800kV";
	private static final String  ROUTE_VOLTAGE_NAME17 = "直流660kV";
	private static final String  ROUTE_VOLTAGE_NAME18 = "直流500kV";
	private static final String  ROUTE_VOLTAGE_NAME19 = "直流400kV";
	private static final String  ROUTE_VOLTAGE_NAME20 = "直流125kV";
	private static final String  ROUTE_VOLTAGE_NAME21 = "直流120kV";
	/** 输电线路相关数据end */
	
	/** 公司名称相关数据start */
	private static final String  ROUTE_COMPLAY_NAME1 = "山东电力集团公司";
	/** 公司名称相关数据end */
	
	/**
	 * 获取资产性质相关数据
	 */
	public static Map<String,Long> getRouteProperty(){
		Map<String,Long> returnMap = new HashMap<String, Long>();
		returnMap.put(ROUTE_PEOPERTY_NAME1, 1L);
		returnMap.put(ROUTE_PEOPERTY_NAME2, 2L);
		returnMap.put(ROUTE_PEOPERTY_NAME3, 3L);
		returnMap.put(ROUTE_PEOPERTY_NAME4, 4L);
		returnMap.put(ROUTE_PEOPERTY_NAME5, 5L);
		returnMap.put(ROUTE_PEOPERTY_NAME6, 6L);
		return returnMap;
	}
	/**
	 * 获取线路类型相关数据
	 */
	public static Map<String,Long> getRouteType(){
		Map<String,Long> returnMap = new HashMap<String, Long>();
		returnMap.put(ROUTE_TYPE_NAME1, 1L);
		returnMap.put(ROUTE_TYPE_NAME2, 2L);
		returnMap.put(ROUTE_TYPE_NAME3, 3L);
		return returnMap;
	}
	/**
	 * 获取电压等级相关数据
	 */
	public static Map<String,Long> getRouteVoltage(){
		Map<String,Long> returnMap = new HashMap<String, Long>();
		returnMap.put(ROUTE_VOLTAGE_NAME1, 1L);
		returnMap.put(ROUTE_VOLTAGE_NAME2, 2L);
		returnMap.put(ROUTE_VOLTAGE_NAME3, 3L);
		returnMap.put(ROUTE_VOLTAGE_NAME4, 4L);
		returnMap.put(ROUTE_VOLTAGE_NAME5, 5L);
		returnMap.put(ROUTE_VOLTAGE_NAME6, 6L);
		returnMap.put(ROUTE_VOLTAGE_NAME7, 7L);
		returnMap.put(ROUTE_VOLTAGE_NAME8, 8L);
		returnMap.put(ROUTE_VOLTAGE_NAME9, 9L);
		returnMap.put(ROUTE_VOLTAGE_NAME10, 10L);
		returnMap.put(ROUTE_VOLTAGE_NAME11, 11L);
		returnMap.put(ROUTE_VOLTAGE_NAME12, 12L);
		returnMap.put(ROUTE_VOLTAGE_NAME13, 13L);
		returnMap.put(ROUTE_VOLTAGE_NAME14, 14L);
		returnMap.put(ROUTE_VOLTAGE_NAME15, 15L);
		returnMap.put(ROUTE_VOLTAGE_NAME16, 16L);
		returnMap.put(ROUTE_VOLTAGE_NAME17, 17L);
		returnMap.put(ROUTE_VOLTAGE_NAME18, 18L);
		returnMap.put(ROUTE_VOLTAGE_NAME19, 19L);
		returnMap.put(ROUTE_VOLTAGE_NAME20, 20L);
		returnMap.put(ROUTE_VOLTAGE_NAME21, 21L);
		return returnMap;
	}
	/**
	 * 获取公司名称相关数据
	 */
	public static Map<String,Long> getRouteComplay(){
		Map<String,Long> returnMap = new HashMap<String, Long>();
		returnMap.put(ROUTE_COMPLAY_NAME1, 1L);
		return returnMap;
	}
}